<?php

use yii\helpers\Html;
use yii\bootstrap\ActiveForm;
use kartik\select2\Select2;


/* @var $this yii\web\View */
/* @var $model app\modules\Member\models\MemberSearch */
/* @var $form yii\widgets\ActiveForm */
?>

<div class="member-search">

    <?php $form = ActiveForm::begin([
        'action' => ['others'],
        'method' => 'get',
        'layout' => 'inline',
        'options' => ['data-pjax'=>true],
    ]); ?>

   <!--  <//?= $form->field($model, 'id') ?> -->

    <?= $form->field($model, 'name')->textInput(['placeholder' => '姓名']) ?>

    <?= $form->field($model, 'phone')->textInput(['placeholder' => '联系方式']) ?>

    <?= $form->field($model, 'mail')->textInput(['placeholder' => '邮箱']) ?>


    <?= $form->field($model,'status')->dropdownList(Yii::$app->params['member_status'], ['prompt'=>'选择状态']) ?>

    <!-- </?= $form->field($model, 'password') ?> -->

    <?php // echo $form->field($model, 'address') ?>

    <?php // echo $form->field($model, 'position') ?>

    <?php // echo $form->field($model, 'group') ?>

    <?php // echo $form->field($model, 'dist_id') ?>

    <?php // echo $form->field($model, 'type') ?>

    <?php // echo $form->field($model, 'desc') ?>

    <?php // echo $form->field($model, 'status') ?>

    <?php // echo $form->field($model, 'created_at') ?>

    <?php // echo $form->field($model, 'updated_at') ?>

    <?php // echo $form->field($model, 'gender') ?>

    <div class="form-group">
        <?= Html::submitButton(Yii::t('app', 'Search'), ['class' => 'btn btn-primary']) ?>
    </div>

    <?php ActiveForm::end(); ?>

</div>
